]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
build: Don't use libdir for systemd unit path
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 18 Jul 2018 21:03:30 +0000 (23:03 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 18 Jul 2018 21:03:30 +0000 (23:03 +0200)
Some systems define it to /usr/lib64 on 64-bit systems, which is not
where systemd looks for unit files. Just hardcode 'lib' in the install
prefix until we get to use the pkg-config file.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/424

meson.build

index 7e5fe3832316521204a2487d1cc4a04dfabd22f4..65f6c7f1fb655250f5331bee3813a3b1c8e6e551 100644 (file)
@@ -64,7 +64,7 @@ plugindir = get_variable('BROWSER_PLUGIN_DIR', mozplugindir)
 # systemduserunitdir = systemd_dep.get_pkgconfig_variable('systemduserunitdir',
 #                                                         define_variable: ['prefix', prefix])
 # and uncomment systemd_dep below
-systemduserunitdir = join_paths(libdir, 'systemd', 'user')
+systemduserunitdir = join_paths(prefix, 'lib', 'systemd', 'user')
 
 keybindings_dep = dependency('gnome-keybindings', required: false)
 if keybindings_dep.found()